import { AddFormatFunc, typeMapRuleType } from "../types";

AddFormatFunc<typeMapRuleType>({

	type: "TYPE_MAP",

	handle: (rule, FMC) => {
		return `{ ${rule[1].map(item => `${FMC(item[0])}: ${FMC(item[1])}`).join(", ")} }`;
	},

})
